package com.ctshk.rpc.order.season.service;

import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.order.season.dto.SeasonOrderPayDTO;
import com.ctshk.rpc.order.season.dto.SeasonOrderTouristDataDTO;
import com.ctshk.rpc.order.season.dto.SeasonProductOrderLocalFunDTO;

import java.util.List;

/**
 * <p>
 * 套票-订单-当地玩乐订单 服务类
 * </p>
 *
 * @author 杨林
 * @since 2021-03-24
 */
public interface ISeasonProductOrderLocalFunService {


    /* @MethodName: 保存本地玩乐 订单信息
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/3/25 9:43
     **/
    void saveLocalFunProduct(List<SeasonProductOrderLocalFunDTO> localFunList, Long userId, Long id);

    /* @MethodName: 获取本地玩乐订单信息
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/3/30 16:54
     **/
    List<SeasonProductOrderLocalFunDTO> getOrderLocalFunList(Long id);

    /* @MethodName: 本地玩乐 下供应商预订单
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/7 19:03
     **/
    void playSupplierOrder(Long orderId, TokenUser user);


    /* @MethodName: 释放库存信息
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/13 18:22
     **/
    void backStock(Long orderId, Long userId);

    /* @MethodName: 动态套票 下当地玩乐 单项单 生成对应的订单号
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/13 19:07
     **/
    void playLocalFunOrder(Long orderId, TokenUser user, List<SeasonOrderPayDTO> payList, List<SeasonOrderTouristDataDTO> touristList);

    /* @MethodName: 更改确认状态
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/14 10:57
     **/
    void changeAffirmState(Long orderId, Integer isAffirm);

    void changeCancelOrderState(Long orderId, Integer cancelStatus);


    /* @MethodName: 固定套票 下内部挂账接口
     * @Description: TODO
     * @Param:
     * @Return:
     * @Author: 杨林
     * @Date:2021/4/20 18:00
     **/
    void playInternalOrder(Long orderId, TokenUser user, List<SeasonOrderTouristDataDTO> touristList);
}
